package com.red.star.wechat.data.entity;

import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

/**
 * @Author: WangYaHui
 * @Description:兑券
 * @Date: Created in 14:13 2018/9/7
 */

@Data
@Table(name = "t_convert_coupon")
public class ConvertCoupon extends BaseEntity {
    /**
     * 姓名
     */
    private String userName;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 第三方
     */
    private String thirdName;
    /**
     * 卷码
     */
    private String thirdCode;
    /**
     * 商场Code
     */
    private String mallCode;
    /**
     * 领劵Code
     */
    private String omsCode;
    /**
     * 组合卷包id
     */
    private Integer packageCouponId;
    /**
     * 备注
     */
    private String content;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 券组名称
     */
    @Transient
    private String couponPackageName;

    /**
     * 商场名
     */
    @Transient
    private String mallName;

    @Transient
    private String packageCouponIdString;

    @Transient
    private List<ConvertCouponRelation> convertCouponRelationList;




}
